/*************************************************************
 * File: MessageSender.java
 * Copyright (c) 2012
 * Author: Huang Shaobin
 * Email: Shaobin.Software@gmail.com Shaobin_Software@163.com 
 * Date: Feb 22, 2013
 * Description: 
 ************************************************************/

package snow.core.message;

import javax.jms.Destination;

import org.springframework.jms.core.JmsTemplate;

import snow.core.toolkit.format.DataFormatter;

/**
 * 消息发送器
 * 
 * @author Shaobin.Software@gmail.com Shaobin_Software@163.com
 * @version 1.0
 */
public class MessageSender {

	private String propertyName;
	private JmsTemplate jmsTemplate;
	private Destination destination;
	private DataFormatter dataFormatter;

	public DataFormatter getDataFormatter() {
		return this.dataFormatter;
	}

	public Destination getDestination() {
		return this.destination;
	}

	public JmsTemplate getJmsTemplate() {
		return this.jmsTemplate;
	}

	public String getPropertyName() {
		return this.propertyName;
	}

	public void setDataFormatter(DataFormatter dataFormatter) {
		this.dataFormatter = dataFormatter;
	}

	public void setDestination(Destination destination) {
		this.destination = destination;
	}

	public void setJmsTemplate(JmsTemplate jmsTemplate) {
		this.jmsTemplate = jmsTemplate;
	}

	public void setPropertyName(String propertyName) {
		this.propertyName = propertyName;
	}
}
